Singularity Theory In Physics